package com.ccys.db.mapper;

import com.ccys.db.dto.masterData.UnitOfMeasurementPageQueryDto;
import com.ccys.db.entity.TblUnitOfMeasurement;
import com.ccys.db.vo.app.splashscreen.DosageUnitMakeVo;
import com.ccys.db.vo.masterData.UnitOfMeasurementPageQueryVo;
import com.ccys.db.vo.web.productAndService.IdNameVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblUnitOfMeasurementMapper extends Mapper<TblUnitOfMeasurement>, MySqlMapper<TblUnitOfMeasurement> {
    List<UnitOfMeasurementPageQueryVo> findPage(UnitOfMeasurementPageQueryDto dto);

    List<DosageUnitMakeVo> getMasterDataFindAllList();

    List<IdNameVo> getIdNameList(String groupId);

    Integer findCountByIdsNotIn(@Param("unitList") List<Integer> unitList);
}
